<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // 对象和数组可以相互嵌套使用   


    // 对象中可以放数组   => 对象数组
    // var zhang = {
    //     // 键名(属性名 字符串) : 键值(属性值 任意类型)
    //     name:"张三",
    //     age:18,
    //     chinese: 55,
    //     math:66,
    //     english:77,
    //     hobby:["唱歌","跳舞"]
    // }

    // 数组对象
    // 一个人的成绩
    //  var zhang = {
    //     // 键名(属性名 字符串) : 键值(属性值 任意类型)
    //     name:"张三",
    //     chinese: 55,
    //     math:66,
    //     english:77,
    // }

    // var list = [{
    //     name:"张三",
    //     chinese: 55,
    //     math:66,
    //     english:77,
    // },{
    //     name:"李四",
    //     chinese: 76,
    //     math:53,
    //     english:91,
    // },{
    //     name:"王五",
    //     chinese: 92,
    //     math:87,
    //     english:76,
    // }]

    // var goods = {
    //     goodsId:"100013260409",
    //     goodsName:"小米平板5 2021款11英寸2.5K高清屏 120Hz 骁龙860 33W快充 杜比影音娱乐办公平板电脑6G+128GB 黑色",
    //     goodsPrice:"1999.00",
    //     goodsImg:"https://img14.360buyimg.com/n1/jfs/t1/197443/14/3060/96464/61167a01Eddfe7dd9/cba76f8b1bcb6a61.jpg"
    // }

    var goodsList = [{
        goodsId:"100013260409",
        goodsName:"小米平板5 2021款11英寸2.5K高清屏 120Hz 骁龙860 33W快充 杜比影音娱乐办公平板电脑6G+128GB 黑色",
        goodsPrice:"1999.00",
        goodsImg:"https://img14.360buyimg.com/n1/jfs/t1/197443/14/3060/96464/61167a01Eddfe7dd9/cba76f8b1bcb6a61.jpg"
    },{
        goodsId:"100013260409",
        goodsName:"小米平板5 2021款11英寸2.5K高清屏 120Hz 骁龙860 33W快充 杜比影音娱乐办公平板电脑6G+128GB 黑色",
        goodsPrice:"1999.00",
        goodsImg:"https://img14.360buyimg.com/n1/jfs/t1/197443/14/3060/96464/61167a01Eddfe7dd9/cba76f8b1bcb6a61.jpg"
    },{
        goodsId:"100013260409",
        goodsName:"小米平板5 2021款11英寸2.5K高清屏 120Hz 骁龙860 33W快充 杜比影音娱乐办公平板电脑6G+128GB 黑色",
        goodsPrice:"1999.00",
        goodsImg:"https://img14.360buyimg.com/n1/jfs/t1/197443/14/3060/96464/61167a01Eddfe7dd9/cba76f8b1bcb6a61.jpg"
    },{
        goodsId:"100013260409",
        goodsName:"小米平板5 2021款11英寸2.5K高清屏 120Hz 骁龙860 33W快充 杜比影音娱乐办公平板电脑6G+128GB 黑色",
        goodsPrice:"1999.00",
        goodsImg:"https://img14.360buyimg.com/n1/jfs/t1/197443/14/3060/96464/61167a01Eddfe7dd9/cba76f8b1bcb6a61.jpg"
    }]




</script>
</html>